<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    protected $table = 'user';
    //设置模型对应的表
    public $timestamps = false;
    //不需要laravel框架自动管理的列
    protected $fillable = ['username','passwd','role','create_time'];
    //create白名单
}
